package com.maxie.duck.demo.entity.impl;

import com.maxie.duck.demo.behaviver.impl.SlowFlyable;
import com.maxie.duck.demo.behaviver.impl.SoundQucakable;
import com.maxie.duck.demo.entity.Duck;

public class FeatDuck extends Duck {

    public FeatDuck() {
        flyable = new SlowFlyable();
        qucakable = new SoundQucakable();
    }
    @Override
    public void display() {
        System.out.println("我是胖鸭，我飞的慢，正常叫");
    }


}
